package com.cskaoyan.mapper;

import com.cskaoyan.bean.Student;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {

    // 多对多的分次查询
    Student selectStudentWithCourseList(@Param("studentId") Integer studentId);


    // 多对多的连接查询
    Student selectStudentWithCourseListUseCrossQuery(@Param("studentId") Integer studentId);
}
